﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="xls.aspx.cs" Inherits="import_xls" %>

<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server">
    </ext:ScriptManager>
    <ext:FileUploadField ID="f" Width="200" runat="server" /> 
    <br />
    <ext:Hidden ID="Hidden1" runat="server">
    </ext:Hidden>
    <ext:Button ID="Button1"  runat="server" Icon="Attach" Text="上传excel">
    <AjaxEvents>
        <Click OnEvent="upload"></Click>
    </AjaxEvents>
    </ext:Button>
    <br />
    <ext:Button ID="Button2" runat="server" Icon="ArrowUp" Text="导入数据库">
        <AjaxEvents>
            <Click OnEvent="import"></Click>
        </AjaxEvents>
    </ext:Button>
    </form>
</body>
</html>
